package com.example.demo.service.impl.qiaoliang;

/**
 * @author chenbenfeng
 * @date 2021-04-12
 */
// 圆形
public class Circle extends Shape {
    private int radius;

    public Circle(int radius, DrawAPI drawAPI) {
        super(drawAPI);
        this.radius = radius;
    }

    @Override
    public void draw2() {
        drawAPI.draw(radius, 0, 0);
    }
}
